<!-- ------------------------------------------------begin  内容------------------------------------------------- -->
<div class="content"> 
  <div class="picture_list" data-type='<?php echo $type;?>'> 
    <!------------------------ -begin 通常内容- --------------------->
    <div class="askmore2 clearfix"> <span class="tit">每天为你更新十件精选宝贝，每天都要来看哦~</span>
      <div class="askmore_time">
        <h2>本场剩余时间：</h2>
        <p class="askmore_time_nr remain"> <span>14</span><span>44</span><span>25</span> </p>
      </div>
    </div>
    <?php foreach ($goodsArray as $key=>$item):
   		if($key==0 || $item['id']!=$goodsid):
    ?>
    <dl data-id='<?php echo $item['id'];?>' class="care_select<?php if($item['isTwoBorder']==1) echo ' two_border';?>" data-type="<?php echo $item['type'];?>">
      <dt class="clearfix">
        <a class="titlelink toshop" href="javascript:void(0)" onClick="javascript:fusion2.nav.open({url:'<?php echo $item['goodsUrl'];?>'}); return false;">
        <p><?php echo $item['title'];?><span class="<?php echo $item['cateCss'];?>"></span></p>
        <i>原价&nbsp;<?php echo $item['originalPrice'];?>元</i>&nbsp;&nbsp; <font>现价&nbsp;<em><?php echo $item['currentPrice'];?></em>元</font></a> </dt>
      <dd class="pic_img" ><a href="javascript:void(0)" class="toshop" onclick="javascript:fusion2.nav.open({url:'<?php echo $item['goodsUrl'];?>'});return false;"> 
          
          <img alt="" src="<?php if(date("Y-m-d")>="2014-09-05") echo "http://qzone.img.fanhuan.com/youpin/goodsimg/";else echo "http://app100656353.imgcache.qzoneapp.com/app100656353/goodsimg/";?><?php echo $goodsArrayFromDate;?>/<?php echo $item['goodsID'];?>.jpg" onerror="this.src='<?php echo $item['picture'];?>'" /></a> 
      </dd>
      <dd class="pro_intro">
        <h2><strong>小编<?php echo $item['shortName'];?>：</strong>
        	<span id=""><?php echo $item['desc'];?>
        	<?php if($this->session->userdata('openid')=='145B7EFF594782E08FCC8CD55A2F7405'):?>
        		<br /><?php echo "http://rc.qzone.qq.com/100656353?via=DLJ&source=jingxuan_id_".$item['id'];?>
        	<?php endif;?>
        	</span>
        </h2>
        <div class="pro_comment">
          <div class="simple_desc" > 
              <?php foreach ($item['commentArray'] as $key_x=>$item_x):if ($key_x<4):?>
			  <span><img src="<?php echo $item_x["pic"];?>"><font><?php echo $item_x["comment"];?></font></span>
			  <?php endif;endforeach;?>
			  
			  <?php if(count($item['commentArray'])<4):?>
              <span><img alt="" src="<?php echo $item['virtualuser'][0];?>"><font><?php echo $item['comments'][0]?></font></span>
			  <?php if(count($item['commentArray'])<3):?>
              <span><img alt="" src="<?php echo $item['virtualuser'][1];?>"><font><?php echo $item['comments'][1]?></font></span>
              <?php if(count($item['commentArray'])<2):?>
              <span><img alt="" src="<?php echo $item['virtualuser'][2];?>"><font><?php echo $item['comments'][2]?></font></span>
              <?php if(count($item['commentArray'])<1):?>
              <span><img alt="" src="<?php echo $item['virtualuser'][3];?>"><font><?php echo $item['comments'][3]?></font></span>
              <?php endif;endif;endif;endif;?>
          </div>
        </div>
        <div class="input_outer">
          <label class="for_name" >我也说一句</label>
          <div class="outer_text">
            <input name="text" type="text" value="" maxlength="50" autocomplete="off" />
          </div>
          <span class="word_num" >0/25</span>
          <div class="comment_sub_outer">
            <button class="comment_submit" type="button"></button>
          </div>
        </div>
        <ul>
          <li class="actions"> 
              <a href="javascript:void(0)" class="love" data-action="1"> <span></span>
                                                分享 <strong id="">(<font><?php echo $item['shared'];?></font>)</strong> </a> 
              <a href="javascript:void(0)" class="collection" data-action="2"> <span></span>
                                                收藏 <strong id="">(<font><?php echo $item['collected'];?></font>)</strong> </a> </li>
          <li class="buy"> <a href="javascript:void(0)" class="bug_buttom" onClick="javascript:fusion2.nav.open({url:'<?php echo $item['goodsUrl'];?>'}); return false;"><span><i>￥</i><?php echo $item['currentPrice'];?></span></a> </li>
        </ul>
      </dd>
    </dl>
    <!-- <?php //if($key == 1 && 1==2):?>
    <div class="ad" style="margin:20px 0 0 20px;">
      <a target="" href="javascript:void(0)" onclick="javascript:fusion2.nav.open({url:'http://temai.taobao.com/event1038.htm?q=Xi0QfbFZG6xt3vqbdXnGlughKL6Dbw4D9Z%2Fe1ctq33YAOe156FKplFnFGWZjX0lLH6A4QplIcLQ%3D'}); return false;">
          <img src="<?php //echo base_url('appearance/ad.jpg');?>" width="720" height="90" alt="2014新品限时抢购"/>
      </a>
    </div>
    <?php //endif;?> -->
    <?php endif;endforeach;?>
    <dl>
  		<dt class="clearfix"></dt>
  		<img style="max-width:680px;" src="<?php echo base_url("appearance/advertisement/ad".(rand(1,100)%2).".jpg");?>" onerror="">
  	</dl>
  </div>
</div>
<!-- ------------------------------------------------end  内容------------------------------------------------- --> 
<!--  kindly_reminder -->
<!-- 母亲节跳转
	<a href="javascript:" class="banner-mother zhuanti-link-from-main" >
			<img src="appearance/banner_mother.png"/>
	</a>-->
<!-- 母亲节跳转end-->
<div class="kindly_reminder">
  <div class="reminder_nr">
    <dl class="editor_notice clearfix">
      <dt>
        <p><span class="editor_name"><font><?php echo $bottomword['shortName'];?></font></span><span class="tit">优品购物主编</span></p>
        <i></i> </dt>
      <dd>
        <div class="editor_bg">
          <div class="nr"><span>
          	<span style="font-size:14px;line-height:21px;">
          		<?php echo $bottomword['content'];?>
          	</span></span></div>
        </div>
        <div class="editor_bottom"></div>
      </dd>
    </dl>
    <div class="edit_other clearfix"> <a href="javascript:void(0)" class="liuyan">给主编留言</a> 
      <a href="javascript:void(0)" onclick="javascript:fusion2.nav.open({url:'http://bangpai.taobao.com/group/thread/15621813-284355777.htm?spm=0.0.0.0.f94HeG'});return false;" class="baoming">商家报名入口</a> </div>
  </div>
  <p class="kindly_desc"></p>
</div>
<!-- end kindly_reminder --> 
<!--  新增  -->
<div class="formore">
  <div class="more_buy">
    <h5 class="more_buy_title">发现更多宝贝：</h5>
    <!-- 其他频道 开始-->
    <div class="more_lists2 clearfix">
    <?php foreach ($bottomlinks as $item):?>
      <dl class="<?php echo $item['css'];?>">
        <dt><?php echo $item['name'];?></dt>
        <dd> 
        <?php foreach ($item['child'] as $item2):?>
        	<a href="javascript:void(0)" style="<?php echo $item2['css'];?>" onClick="fusion2.nav.open({url:'<?php echo $item2['address'];?>'});return false;"><?php echo $item2['name'];?></a> 
        <?php endforeach;?>
        </dd>
      </dl>
    <?php endforeach;?>
    </div>
    <!-- 其他频道 结束--> 
  </div>
  <div class="qqqun">
    <h5 class="more_buy_title">加入QQ群，看看优品购的MM们都在聊什么：</h5>
    <ul class="clearfix">
      <li>1群：364100114</li>
      <li>2群：264635930</li>
      <li>3群：375588302</li>
      <li>4群：173589249</li>
    </ul>
  </div>
</div>
<div class="hr"></div>
<!-- end 新增  --> 
<!-- begin 转盘  --> 
<?php if($isshowzhanpan):?>
<script src="<?php echo base_url("javascript/zhuanpan.js?v=2014042901");?>" type="text/javascript"></script>
<?php endif;?>
<!-- end 转盘  --> 
<!-- begin 页面js  --> 
<script src="<?php echo base_url("javascript/main.js?v=2014080401");?>" type="text/javascript"></script>
<!-- end   页面js  --> 